<%@ page language="java" contentType="text/html; charset=UTF8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>return book</title>
<link rel="stylesheet" type="text/css" href="component/jquery-easyui-1.5.1/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="component/jquery-easyui-1.5.1/themes/icon.css">
<link rel="stylesheet" type="text/css" href="../demo.css">
<script type="text/javascript" src="component/jquery-easyui-1.5.1/jquery.min.js"></script>
<script type="text/javascript" src="component/jquery-easyui-1.5.1/jquery.easyui.min.js"></script>
</head>
<body>

	<div class="htmleaf-container">
		<form action="returnBook.action" method="post">
			    <h1>Hello&nbsp;&nbsp;&nbsp;${sessionScope.user.user_name}</h1>
			    <h1>Are you sure you want to return ${returnBook.borrowId} ?</h1>
			    <input type="hidden" name="borrowId" value="${returnBook.borrowId}"/><br>
			    <input type="hidden" name="borrowReaderid" value="${sessionScope.user.user_id}"/><br>
			    <input type="hidden" class="easyui-datebox"  id="returnTime" name="returnTime" value="$('returnTime').datebox('getValue')" required="required"/><br>
			    <br>
			    <input type="submit" value="Sure" style="color: white; background-color: blue" />
			    <button type="button" onclick= "window.location='showBooks.action?borrowReaderid=${sessionScope.user.user_id}'">Return</button>
			</form>
	</div>
</body>
</html>